const courseRoute = {
  path: '/course',
  name: 'course-home',
  meta: { title: '课程列表' },
  redirect: '/course/index',
  component: () => import('@/views/module/courseHome/layout.vue'),
  children: [
    {
      path: 'index',
      name: 'course-home-index',
      component: () => import('@/views/module/courseHome/index'),
    },
    {
      path: 'detail',
      name: 'course-home-detail',
      meta: { title: '课程详情' },
      component: () => import('@/views/module/courseHome/detail'),
    },
  ],
}

export default courseRoute
